const menuData = [
  {
    path: '/:path(.*)*',
    name: 'PageNotFound',
    meta: {
      title: 'ErrorPage',
      hideBreadcrumb: true,
      hideMenu: true,
    },
    children: [
      {
        path: '/:path(.*)*',
        name: 'PageNotFound',
        meta: {
          title: 'ErrorPage',
          hideBreadcrumb: true,
          hideMenu: true,
        },
      },
    ],
  },
  {
    path: '/about',
    name: 'About',
    redirect: '/about/index',
    meta: {
      hideChildrenInMenu: true,
      icon: 'simple-icons:about-dot-me',
      title: 'routes.dashboard.about',
      orderNo: 100000,
    },
    children: [
      {
        path: 'index',
        name: 'AboutPage',
        meta: {
          title: 'routes.dashboard.about',
          icon: 'simple-icons:about-dot-me',
          hideMenu: true,
        },
      },
    ],
  },
  {
    path: '/dashboard',
    name: 'Dashboard',
    redirect: '/dashboard/analysis',
    meta: {
      orderNo: 10,
      icon: 'ion:grid-outline',
      title: 'routes.dashboard.dashboard',
    },
    children: [
      {
        path: 'analysis',
        name: 'Analysis',
        meta: {
          title: 'routes.dashboard.analysis',
        },
      },
      {
        path: 'workbench',
        name: 'Workbench',
        meta: {
          title: 'routes.dashboard.workbench',
        },
      },
    ],
  },
  {
    path: '/charts',
    name: 'Charts',
    redirect: '/charts/echarts/map',
    meta: {
      orderNo: 500,
      icon: 'ion:bar-chart-outline',
      title: 'routes.demo.charts.charts',
    },
    children: [
      {
        path: 'baiduMap',
        name: 'BaiduMap',
        meta: {
          title: 'routes.demo.charts.baiduMap',
        },
      },
      {
        path: 'aMap',
        name: 'AMap',
        meta: {
          title: 'routes.demo.charts.aMap',
        },
      },
      {
        path: 'googleMap',
        name: 'GoogleMap',
        meta: {
          title: 'routes.demo.charts.googleMap',
        },
      },
      {
        path: 'echarts',
        name: 'Echarts',
        meta: {
          title: 'Echarts',
        },
        redirect: '/charts/echarts/map',
        children: [
          {
            path: 'map',
            name: 'Map',
            meta: {
              title: 'routes.demo.charts.map',
            },
          },
          {
            path: 'line',
            name: 'Line',
            meta: {
              title: 'routes.demo.charts.line',
            },
          },
          {
            path: 'pie',
            name: 'Pie',
            meta: {
              title: 'routes.demo.charts.pie',
            },
          },
        ],
      },
    ],
  },
  {
    path: '/comp',
    name: 'Comp',
    redirect: '/comp/basic',
    meta: {
      orderNo: 30,
      icon: 'ion:layers-outline',
      title: 'routes.demo.comp.comp',
    },
    children: [
      {
        path: 'basic',
        name: 'BasicDemo',
        meta: {
          title: 'routes.demo.comp.basic',
        },
      },
      {
        path: 'form',
        name: 'FormDemo',
        redirect: '/comp/form/basic',
        meta: {
          title: 'routes.demo.form.form',
        },
        children: [
          {
            path: 'basic',
            name: 'FormBasicDemo',
            meta: {
              title: 'routes.demo.form.basic',
            },
          },
          {
            path: 'useForm',
            name: 'UseFormDemo',
            meta: {
              title: 'routes.demo.form.useForm',
            },
          },
          {
            path: 'refForm',
            name: 'RefFormDemo',
            meta: {
              title: 'routes.demo.form.refForm',
            },
          },
          {
            path: 'advancedForm',
            name: 'AdvancedFormDemo',
            meta: {
              title: 'routes.demo.form.advancedForm',
            },
          },
          {
            path: 'ruleForm',
            name: 'RuleFormDemo',
            meta: {
              title: 'routes.demo.form.ruleForm',
            },
          },
          {
            path: 'dynamicForm',
            name: 'DynamicFormDemo',
            meta: {
              title: 'routes.demo.form.dynamicForm',
            },
          },
          {
            path: 'customerForm',
            name: 'CustomerFormDemo',
            meta: {
              title: 'routes.demo.form.customerForm',
            },
          },
          {
            path: 'appendForm',
            name: 'appendFormDemo',
            meta: {
              title: 'routes.demo.form.appendForm',
            },
          },
          {
            path: 'tabsForm',
            name: 'tabsFormDemo',
            meta: {
              title: 'routes.demo.form.tabsForm',
            },
          },
        ],
      },
      {
        path: 'table',
        name: 'TableDemo',
        redirect: '/comp/table/basic',
        meta: {
          title: 'routes.demo.table.table',
        },
        children: [
          {
            path: 'basic',
            name: 'TableBasicDemo',
            meta: {
              title: 'routes.demo.table.basic',
            },
          },
          {
            path: 'treeTable',
            name: 'TreeTableDemo',
            meta: {
              title: 'routes.demo.table.treeTable',
            },
          },
          {
            path: 'fetchTable',
            name: 'FetchTableDemo',
            meta: {
              title: 'routes.demo.table.fetchTable',
            },
          },
          {
            path: 'fixedColumn',
            name: 'FixedColumnDemo',
            meta: {
              title: 'routes.demo.table.fixedColumn',
            },
          },
          {
            path: 'customerCell',
            name: 'CustomerCellDemo',
            meta: {
              title: 'routes.demo.table.customerCell',
            },
          },
          {
            path: 'formTable',
            name: 'FormTableDemo',
            meta: {
              title: 'routes.demo.table.formTable',
            },
          },
          {
            path: 'useTable',
            name: 'UseTableDemo',
            meta: {
              title: 'routes.demo.table.useTable',
            },
          },
          {
            path: 'refTable',
            name: 'RefTableDemo',
            meta: {
              title: 'routes.demo.table.refTable',
            },
          },
          {
            path: 'multipleHeader',
            name: 'MultipleHeaderDemo',
            meta: {
              title: 'routes.demo.table.multipleHeader',
            },
          },
          {
            path: 'mergeHeader',
            name: 'MergeHeaderDemo',
            meta: {
              title: 'routes.demo.table.mergeHeader',
            },
          },
          {
            path: 'expandTable',
            name: 'ExpandTableDemo',
            meta: {
              title: 'routes.demo.table.expandTable',
            },
          },
          {
            path: 'fixedHeight',
            name: 'FixedHeightDemo',
            meta: {
              title: 'routes.demo.table.fixedHeight',
            },
          },
          {
            path: 'footerTable',
            name: 'FooterTableDemo',
            meta: {
              title: 'routes.demo.table.footerTable',
            },
          },
          {
            path: 'editCellTable',
            name: 'EditCellTableDemo',
            meta: {
              title: 'routes.demo.table.editCellTable',
            },
          },
          {
            path: 'editRowTable',
            name: 'EditRowTableDemo',
            meta: {
              title: 'routes.demo.table.editRowTable',
            },
          },
          {
            path: 'authColumn',
            name: 'AuthColumnDemo',
            meta: {
              title: 'routes.demo.table.authColumn',
            },
          },
          {
            path: 'resizeParentHeightTable',
            name: 'ResizeParentHeightTable',
            meta: {
              title: 'routes.demo.table.resizeParentHeightTable',
            },
          },
          {
            path: 'vxeTable',
            name: 'VxeTableDemo',
            meta: {
              title: 'routes.demo.table.vxeTable',
            },
          },
        ],
      },
      {
        path: 'transition',
        name: 'transitionDemo',
        meta: {
          title: 'routes.demo.comp.transition',
        },
      },
      {
        path: 'cropper',
        name: 'CropperDemo',
        meta: {
          title: 'routes.demo.comp.cropperImage',
        },
      },
      {
        path: 'timestamp',
        name: 'TimeDemo',
        meta: {
          title: 'routes.demo.comp.time',
        },
      },
      {
        path: 'countTo',
        name: 'CountTo',
        meta: {
          title: 'routes.demo.comp.countTo',
        },
      },
    ],
  },
];
